<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:cc="http://java.sun.com/jsf/composite"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:p="http://primefaces.org/ui"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:c="http://java.sun.com/jsp/jstl/core"
                xmlns:base="http://java.sun.com/jsf/composite/base">
    <cc:interface>
        <cc:attribute name="items"/>
    </cc:interface>

    <cc:implementation>
        <h:form>
            <p:treeTable value="#{categoryController.tree}"
                         var="tree">
                <p:column headerText="name">
                    ${tree.name}
                </p:column>
                <p:column headerText="url">
                    ${tree.url}
                </p:column>
                <p:column headerText="remark">
                    ${tree.remark}
                </p:column>
            </p:treeTable>
        </h:form>
    </cc:implementation>
</ui:composition>